<template>
  <NstdUpload
      class="upload-demo"
      drag
      action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
      multiple
  >
    <template #trigger>
      <el-icon class="el-icon--upload">
        <upload-filled/>
      </el-icon>
      <div class="NstdUpload__text">
        Drop file here or <em>click to upload</em>
      </div>
    </template>
    <template #tip>
      <div class="NstdUpload__tip">
        jpg/png files with a size less than 500kb
      </div>
    </template>
  </NstdUpload>
</template>

<script setup lang="ts">
import { UploadFilled } from '@element-plus/icons-vue'
</script>
